body {
    font-family: 'Garamond', 'Times New Roman', Times, serif;
    margin: 0;
    padding: 0;
    background-color: #ffffff;
    text-align: center; /* Center text in the body */
}

header {
    background-color: #ffffff;
    color: #333;
    display: flex;
    justify-content: center; /* Center header contents */
    align-items: center; /* Align items vertically in the center */
    padding: 0.5rem 1.5rem;
}

.header-left {
    display: flex;
    flex-direction: column;
    align-items: center; /* Center items in the header left section */
}

header h1 {
    font-size: 2.5rem;
    margin: 0;
    color: #333;
}

header .bio p {
    font-size: 0.9rem;
    margin: 0;
    color: #333;
}

.welcome {
    align-self: center; /* Center the welcome text */
    margin: 0;
    color: #333;
}

.container {
    max-width: 100%;
    margin: 0 auto;
    padding: 20px;
}

.slider {
    height: 300px;
    overflow-x: scroll;
    overflow-y: hidden;
    white-space: nowrap;
    margin: 30px 0;
    scroll-behavior: smooth;
    padding-bottom: 20px;
    padding-top: 20px;
    position: relative;
}

/* Hide the scrollbar */
.slider::-webkit-scrollbar {
    display: none; 
}

.slider {
    -ms-overflow-style: none; /* Hide scrollbar in IE and Edge */
    scrollbar-width: none; /* Hide scrollbar in Firefox */
}

.slider-content {
    display: inline-flex; /* Keep images in a single horizontal row */
    overflow: visible; /* Allow images to overflow */
}

.slider img {
    max-width: 250px; /* Set a max width instead of fixed width */
    height: 250px; /* Maintain aspect ratio */
    margin-right: 20px; /* Adjust space between images */
    transition: transform 0.3s ease, margin-right 0.3s ease;
    position: relative;
}

.slider img:hover {
    transform: scale(1.2); /* Slightly smaller scale for a subtle effect */
    z-index: 2; /* Ensure hovered image is on top */
    margin-right: 20px; /* Maintain increased space between images on hover */
}

.contact p, footer p {
    font-size: 0.8rem;
}

footer {
    text-align: center; /* Center text in the footer */
    padding: 20px;
    color: #333;
}

.additional-content {
    margin: 20px 0; /* Space above and below */
    padding: 15px;
    text-align: center; /* Center text in additional content */
    max-width: 800px; /* Limit the text width */
    margin-left: auto; /* Center the content horizontally */
    margin-right: auto; /* Center the content horizontally */
}

.additional-content h2 {
    font-size: 1.5rem;
    color: #333;
}

.additional-content p {
    font-size: 1rem;
    color: #333;
    line-height: 1.6; /* Improve readability */
    margin: 60px auto;
}


.additional-images {
    display: flex;
    gap: 10px;
    justify-content: center; /* Center additional images */
    margin-top: 10px; /* Space above the image row */
}

.additional-images img {
    max-width: 300px; /* Set a smaller max width */
    height: auto; /* Maintain aspect ratio */
}

.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgba(0, 0, 0, 0.8); /* Black background with opacity */
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 100%; /* Set max width to 100% */
    max-height: 100%; /* Set max height to 100% */
    width: auto; /* Allow width to adjust automatically */
    height: auto; /* Allow height to adjust automatically */
}

.close {
    position: absolute;
    top: 10px;
    right: 25px;
    color: white;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

.no-hover {
    transform: none !important; /* Remove hover transform effect */
    margin-right: 10px !important; /* Revert to normal margin */
    z-index: 1 !important; /* Reset z-index */
}

.slider papershape-2 {
    width: 400px; /* Set the desired width */
    height: auto; /* Maintain aspect ratio */
}
